package spring.cloud.tasks.client.item_task_processor;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;


public class TaskProcessorInfo {

    @Setter
    @Getter
    public String ip;

    @Setter
    @Getter
    public String workerId;
    @Setter
    @Getter
    public String taskId;
    @Setter
    @Getter
    public String processorId;
    //

    @Setter
    @Getter
    public Date registerTime;
    @Setter
    @Getter
    public String nextRunTimeString;//代表初始化的时间
    @Setter
    @Getter
    public Date nextRunTime;
    @Setter
    @Getter
    public String nextPauseTimeString;//代表初始化的时间
    @Setter
    @Getter
    public Date nextPauseTime;
    @Setter
    @Getter
    public Date heartBeatTime;
    @Setter
    @Getter
    public Date lastFetchDataTime;
    @Setter
    @Getter
    public boolean isRegister;
    @Setter
    @Getter
    public String needDestroyWhenTaskItemsInvalid;
    @Setter
    @Getter
    public int threadNum;
    @Setter
    @Getter
    public long version;
    //
    @Setter
    @Getter
    public String state;
    @Setter
    @Getter
    public String message;

    @Setter
    @Getter
    public Date centerServerTime;


    public TaskProcessorInfo() {

    }

}
